﻿Imports System.Runtime.Serialization

<DataContract(name:="libentry", namespace:="http://www.kumasystem.net")>
Public Class PluginLibraryEntity
    Implements IExtensibleDataObject

    <DataMember(order:=1, name:="load")>
    Public Property IsLoad As Boolean
    <DataMember(order:=2, name:="pluginfoler")>
    Public Property PluginFolder As String
    <DataMember(order:=3, name:="category")>
    Public Property CategoryName As String
    <DataMember(order:=4, name:="libfile")>
    Public Property LibraryFile As String
    <DataMember(order:=5, name:="activity")>
    Public Property ActivityName As String

    Public Property ExtensionData As ExtensionDataObject Implements IExtensibleDataObject.ExtensionData

End Class

<DataContract(name:="pluginlist", namespace:="http://www.kumasystem.net")>
Public Class PluginList
    Implements IExtensibleDataObject

    <DataMember(order:=1, name:="plugins")>
    Public Property Plugins As New List(Of PluginLibraryEntity)

    Public Property ExtensionData As ExtensionDataObject Implements IExtensibleDataObject.ExtensionData

End Class